package com.soaring.ray.collection.impl;

import com.soaring.ray.collection.ListToJson;
import net.sf.json.JSONArray;

import java.util.List;

public class ListToJsonImpl implements ListToJson {


    public   JSONArray listTojson(List list) {
        JSONArray json = JSONArray.fromObject(list);
        return json;
    }
}
